<div class="zs-body" data-ng-init="formInit('gzhlygzgl', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{id:0}
    }) && loadData('gzhlygzgl');setConHei();">
    <div class="zs-map-tool">
        <div class="location">
            <a href="javascript:;">首页</a>
            <i class="right-arr"></i>
            <a href="javascript:;">资源管理</a>
            <i class="right-arr"></i>
            <a href="javascript:;">护林员工资管理</a>
        </div>
        <div class="option">
            <input type="button" class="zs-btn orange" value="新建" 
                ng-click="addRow('gzhlygzgl') && openWindow('edit');"/>
            <input type="button" class="zs-btn orange" value="编辑" 
                ng-click="editRow('gzhlygzgl', gzhlygzgl.sRows[0]) && openWindow('edit')"/>
            <input type="button" class="zs-btn orange" value="删除 "
                ng-click="delEntitys('gzhlygzgl')"/>
        </div>
    </div>
    <div class="zs-content" style="position:unset">
        <div class="zs-nice-tab idTabs">
			<div class="tool item" style="margin-left:6px;">
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="ID" ng-model="gzhlygzgl.queryObject['id']"/>
                </span-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="姓名" ng-model="gzhlygzgl.queryObject['xm']"/>
                </span>
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="用户ID" ng-model="gzhlygzgl.queryObject['yhid']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="基础工资" ng-model="gzhlygzgl.queryObject['jcgz']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="浮动工资" ng-model="gzhlygzgl.queryObject['fdgz']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="绩效工资" ng-model="gzhlygzgl.queryObject['jxgz']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="工龄工资" ng-model="gzhlygzgl.queryObject['glgz']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="工作年限" ng-model="gzhlygzgl.queryObject['gznx']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_cygzsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzhlygzgl.queryObject['cygzsj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="地点林班" ng-model="gzhlygzgl.queryObject['ddlb']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="小班号" ng-model="gzhlygzgl.queryObject['xbh']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="面积" ng-model="gzhlygzgl.queryObject['mj']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="合同号" ng-model="gzhlygzgl.queryObject['hth']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="合计" ng-model="gzhlygzgl.queryObject['hj']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="年度" ng-model="gzhlygzgl.queryObject['nd']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="月份" ng-model="gzhlygzgl.queryObject['yf']"/>
                </span>
			<!--	<span class="search-warpper">
                    <ag-Datebox id='qi_zbsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzhlygzgl.queryObject['zbsj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="单位负责人ID" ng-model="gzhlygzgl.queryObject['dwfzrid']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="单位负责人名称" ng-model="gzhlygzgl.queryObject['dwfzrmc']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="会计ID" ng-model="gzhlygzgl.queryObject['kjid']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="会计名称" ng-model="gzhlygzgl.queryObject['kjmc']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="出纳ID" ng-model="gzhlygzgl.queryObject['cnid']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="出纳名称" ng-model="gzhlygzgl.queryObject['cnmc']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="护林站ID" ng-model="gzhlygzgl.queryObject['hlzid']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="护林站名称" ng-model="gzhlygzgl.queryObject['hlzmc']"/>
                </span>
            </div>
            <div class="operation item">
                <a class="ope-1" ng-click="loadData('gzhlygzgl')"></a>
                <a class="ope-2"></a>
            </div>
            <div class="switch">
                
            </div>
        </div>
        <div class="date-container">
            <div id="zpgwd">
                <div class="zs-data-table">
                    <div class="container">
                        <table>
                            <thead>
                                <tr>
                                    <th>
                                        <input id="allCheckbox" type="checkbox"
                                            ng-click="selectAll('gzhlygzgl','allCheckbox');" />
                                    </th>
									<!--<th>ID</th>-->
									<th>姓名</th>
								<!--	<th>用户ID</th>-->
									<th>基础工资</th>
									<th>浮动工资</th>
									<th>绩效工资</th>
									<th>工龄工资</th>
									<th>工作年限</th>
									<th>参与工作时间</th>
									<th>地点林班</th>
									<th>小班号</th>
									<th>面积</th>
									<th>合同号</th>
									<th>合计</th>
									<th>年度</th>
									<th>月份</th>
									<th>制表时间</th>
									<th>单位负责人ID</th>
									<th>单位负责人名称</th>
									<!--<th>会计ID</th>-->
									<th>会计名称</th>
								<!--	<th>出纳ID</th>-->
									<th>出纳名称</th>
								<!--	<th>护林站ID</th>-->
									<th>护林站名称</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="r in gzhlygzgl.datas">
                                    <td>
                                        <input type="checkbox"
                                            ng-click="selectRow('gzhlygzgl',r);"
                                            ng-model="r.selected" />
                                    </td>
									<!--  ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.id"></label>
                                        </a>
                                   </td>-->
									<!--  姓名 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.xm"></label>
                                        </a>
                                   </td>
									<!--  用户ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.yhid"></label>
                                        </a>
                                   </td>-->
									<!--  基础工资 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.jcgz"></label>
                                        </a>
                                   </td>
									<!--  浮动工资 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.fdgz"></label>
                                        </a>
                                   </td>
									<!--  绩效工资 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.jxgz"></label>
                                        </a>
                                   </td>
									<!--  工龄工资 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.glgz"></label>
                                        </a>
                                   </td>
									<!--  工作年限 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.gznx"></label>
                                        </a>
                                   </td>
									<!--  参与工作时间 -->
								   <td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.cygzsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  地点林班 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.ddlb"></label>
                                        </a>
                                   </td>
									<!--  小班号 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.xbh"></label>
                                        </a>
                                   </td>
									<!--  面积 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.mj"></label>
                                        </a>
                                   </td>
									<!--  合同号 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.hth"></label>
                                        </a>
                                   </td>
									<!--  合计 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.hj"></label>
                                        </a>
                                   </td>
									<!--  年度 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.nd"></label>
                                        </a>
                                   </td>
									<!--  月份 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.yf"></label>
                                        </a>
                                   </td>
									<!--  制表时间 -->
								   <td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.zbsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  单位负责人ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.dwfzrid"></label>
                                        </a>
                                   </td>-->
									<!--  单位负责人名称 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.dwfzrmc"></label>
                                        </a>
                                   </td>
									<!--  会计ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.kjid"></label>
                                        </a>
                                   </td>-->
									<!--  会计名称 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.kjmc"></label>
                                        </a>
                                   </td>
									<!--  出纳ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.cnid"></label>
                                        </a>
                                   </td>-->
									<!--  出纳名称 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.cnmc"></label>
                                        </a>
                                   </td>
									<!--  护林站ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.hlzid"></label>
                                        </a>
                                   </td>-->
									<!--  护林站名称 -->
            						<td>
                                        <a ng-click="editRow('gzhlygzgl',r) && openWindow('edit');">
                                            <label ng-bind="r.hlzmc"></label>
                                        </a>
                                   </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="zs-pagination-box">
                    <ag-Page fn='gzhlygzgl'></ag-Page>
                </div>
            </div>
        </div>

        <div ag-Window id="edit" title="护林员工资管理编辑" width='560px' height='420px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
          					<!--<tr>
                                <td class="text" width="20%">ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.id" class="zs-input" />
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">姓名</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.xm" class="zs-input" />
                                </td>
                           <!-- </tr>
          					<tr>
                                <td class="text" width="20%">用户ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.yhid" class="zs-input" />
                                </td>
                            </tr>
          					<tr>-->
                                <td class="text" width="20%">基础工资</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.jcgz" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">浮动工资</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.fdgz" class="zs-input" />
                                </td>
                          
                                <td class="text" width="20%">绩效工资</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.jxgz" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">工龄工资</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.glgz" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">工作年限</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.gznx" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">参与工作时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_cygzsj'  showcurday='gzhlygzgl.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzhlygzgl.editRow.cygzsj" >
							   		</ag-Datebox>
                                </td>
                           
                                <td class="text" width="20%">地点林班</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.ddlb" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">小班号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.xbh" class="zs-input" />
                                </td>
                          
                                <td class="text" width="20%">面积</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.mj" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">合同号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.hth" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">合计</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.hj" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">年度</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.nd" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">月份</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.yf" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">制表时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_zbsj' showcurday='gzhlygzgl.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzhlygzgl.editRow.zbsj" >
							   		</ag-Datebox>
                                </td>
                           <!-- </tr>
          					<tr>
                                <td class="text" width="20%">单位负责人ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.dwfzrid" class="zs-input" />
                                </td>
                            </tr>
          					<tr>-->
                                <td class="text" width="20%">单位负责人名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.dwfzrmc" class="zs-input" />
                                </td>
                            </tr>
          					<!--<tr>
                                <td class="text" width="20%">会计ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.kjid" class="zs-input" />
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">会计名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.kjmc" class="zs-input" />
                                </td>
                           <!-- </tr>
          					<tr>
                                <td class="text" width="20%">出纳ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.cnid" class="zs-input" />
                                </td>
                            </tr>
          					<tr>-->
                                <td class="text" width="20%">出纳名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.cnmc" class="zs-input" />
                                </td>
                            </tr>
          					<!--<tr>
                                <td class="text" width="20%">护林站ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzhlygzgl.editRow.hlzid" class="zs-input" />
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">护林站名称</td>
                                <td class="left" width="30%" colspan="3">
                                	<input type="text" ng-model="gzhlygzgl.editRow.hlzmc" class="zs-input" />
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                    <input type="button" name="ok" value="保存" class="zs-btn c-red"
                                        ng-click="formValidate(form) && save('gzhlygzgl', gzhlygzgl.editRow, saveCloseWindow)"/>
                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
                                        ng-click="closeWindow('edit')" />
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>